//
//  DebugLog.h
//  DemoProject
//
//  Created by mouxiaochun on 16/3/17.
//  Copyright © 2016年 mmc. All rights reserved.
//

#ifndef DebugLog_h
#define DebugLog_h

#define DEBUG_MODE     1    //是否打印log 0不打印   1打印

#if DEBUG_MODE
//打印日志
#define DebugLog( format, ... ) NSLog( @"<%@:(%d)> %@", [[NSString stringWithUTF8String:__FILE__] lastPathComponent], __LINE__, [NSString stringWithFormat:(format), ##__VA_ARGS__] )
#else
//不打印日志
#define DebugLog( format, ... )
#endif


#endif /* DebugLog_h */
